import { SM4, SM3, SM2 } from "gm-crypto";

export function encryptSM3(data: string) {
  return SM3.digest(data, "utf8", "hex");
}
